package cn.user.mapper;


import cn.user.domin.ShopRegistration;
import cn.user.domin.ShopRegistrationExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author root
 */
public interface ShopRegistrationMapper {
    long countByExample(ShopRegistrationExample example);

    int deleteByExample(ShopRegistrationExample example);

    int deleteByPrimaryKey(String id);

    int insert(ShopRegistration record);

    int insertSelective(ShopRegistration record);

    List<ShopRegistration> selectByExample(ShopRegistrationExample example);

    ShopRegistration selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ShopRegistration record, @Param("example") ShopRegistrationExample example);

    int updateByExample(@Param("record") ShopRegistration record, @Param("example") ShopRegistrationExample example);

    int updateByPrimaryKeySelective(ShopRegistration record);

    int updateByPrimaryKey(ShopRegistration record);
}